import { BasePageQo } from '@/base/api/BaseQo'

export type SysAccountListVo = {
  // [[ OnflowGenerator Range (- listVo -) Start ]]
  id: number
  name: string
  uid: string
  nickName: string
  password: string
  rsaPassword: string
  gender: number
  locked: boolean
  mobile?: string
  email?: string
  avatar?: string
  country?: string
  province?: string
  city?: string
  address?: string
  birthday?: string
  registerDate?: string
  lastLoginDate?: string
  lastLoginIp?: string
  nowLoginIp?: string
  nowLoginDate?: string
  loginCount: number
  status: number
  wx?: string
  qq?: string
  remark?: string
  expireTime?: string
  lockStartTime?: string
  lockEndTime?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- listVo -) End ]]
}

export type SysAccountDetailVo = {
  // [[ OnflowGenerator Range (- detailVo -) Start ]]
  id: number
  name: string
  uid: string
  nickName: string
  password: string
  rsaPassword: string
  gender: number
  locked: boolean
  mobile?: string
  email?: string
  avatar?: string
  country?: string
  province?: string
  city?: string
  address?: string
  birthday?: string
  registerDate?: string
  lastLoginDate?: string
  lastLoginIp?: string
  nowLoginIp?: string
  nowLoginDate?: string
  loginCount: number
  status: number
  wx?: string
  qq?: string
  remark?: string
  expireTime?: string
  lockStartTime?: string
  lockEndTime?: string
  createUser: number
  updateUser: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- detailVo -) End ]]
}

export type SysAccountSearchQo = BasePageQo & {
  // [[ OnflowGenerator Range (- pageQo -) Start ]]
  id?: number
  name?: string
  uid?: string
  nickName?: string
  password?: string
  rsaPassword?: string
  gender?: number
  locked?: boolean
  mobile?: string
  email?: string
  avatar?: string
  country?: string
  province?: string
  city?: string
  address?: string
  birthday?: string
  registerDate?: string
  lastLoginDate?: string
  lastLoginIp?: string
  nowLoginIp?: string
  nowLoginDate?: string
  loginCount?: number
  status?: number
  wx?: string
  qq?: string
  remark?: string
  expireTime?: string
  lockStartTime?: string
  lockEndTime?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- pageQo -) End ]]
}

export type SysAccountEditQo = {
  // [[ OnflowGenerator Range (- editQo -) Start ]]
  id?: number
  name?: string
  uid?: string
  nickName?: string
  password?: string
  rsaPassword?: string
  gender?: number
  locked?: boolean
  mobile?: string
  email?: string
  avatar?: string
  country?: string
  province?: string
  city?: string
  address?: string
  birthday?: string
  registerDate?: string
  lastLoginDate?: string
  lastLoginIp?: string
  nowLoginIp?: string
  nowLoginDate?: string
  loginCount?: number
  status?: number
  wx?: string
  qq?: string
  remark?: string
  expireTime?: string
  lockStartTime?: string
  lockEndTime?: string
  createUser?: number
  updateUser?: number
  createTime?: string
  updateTime?: string
  // [[ OnflowGenerator Range (- editQo -) End ]]
}

export type SysAccountChangePasswordQo = {
  originPassword: string
  newPassword: string
}
